import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set_node_cls from '@dfeidao/atom-web/ui/set-node-cls';
import show from '@dfeidao/atom-web/ui/show';
// import nodejs from '@dfeidao/atom-web/msg/nodejs';
// import render from '@dfeidao/atom-web/render/render';
// import p001 from './p001';

export default async function a001(fd: IFeidaoAiBrowserComponent) {

	// const res = await nodejs<Array<{}>>('company-factory/zj-000005/s002', {
	// });
	// render(fd, res, p001, 'p001', 'inner');

	const addcompany = fd.data.node.querySelector<HTMLDivElement>('[data-id="addcompany"]');
	set_node_cls(addcompany, 'display-n', false);
	show(fd.data.node);
}
